package com.zk.springboot.modules.user.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zk.springboot.interfaces.common.user.IUserService;
import com.zk.springboot.interfaces.common.user.UserModel;
import com.zk.springboot.modules.user.dao.UserMapper;

@Service
public class UserServiceImpl implements IUserService {

	@Autowired
	UserMapper userDao;

	@Override
	public String test() {
		// TODO Auto-generated method stub
		return "user";
	}

	@Override
	public UserModel getUserById(int id) {
		// TODO Auto-generated method stub
		return userDao.selectByPrimaryKey(id);
	}

}
